/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.couponinfo.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.couponinfo.entity.CouponInfo;
import com.thinkgem.jeesite.modules.couponinfo.dao.CouponInfoDao;

/**
 * 生成加息券Service
 * @author thinkgem
 * @version 2017-08-17
 */
@Service
@Transactional(readOnly = true)
public class CouponInfoService extends CrudService<CouponInfoDao, CouponInfo> {

	public CouponInfo get(String id) {
		return super.get(id);
	}
	
	public List<CouponInfo> findList(CouponInfo couponInfo) {
		return super.findList(couponInfo);
	}
	
	public Page<CouponInfo> findPage(Page<CouponInfo> page, CouponInfo couponInfo) {
		return super.findPage(page, couponInfo);
	}
	
	@Transactional(readOnly = false)
	public void save(CouponInfo couponInfo) {
		super.save(couponInfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(CouponInfo couponInfo) {
		super.delete(couponInfo);
	}
	
}